<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of FormListView
 *
 * @author mateusz.ledzewicz
 */
class TestingScreen extends IndexView {
    //put your code here
    protected function chooseView($name){
      $type = (isSet($_GET[ConfigInput::actionGet])) ? $_GET[ConfigInput::actionGet] : null;
        switch($type){
            case 'run':
                $this->loadContent('networkrun.html');
                $this->runLoad();
            break;
            case 'test':
                $this->loadContent('networktest.html');
                $this->testLoad();
            break;
            case 'results':
                $this->loadContent('networkresults.html');
                $this->resultsLoad();
            break;
            default:
                $this->loadContent('networkinfo.html');
                $this->infoLoad();
            break; 
        }
    }
    
    protected  function runLoad() {}
    protected  function testLoad() {}
    protected  function infoLoad() {}
    protected function resultsLoad(){}
}

?>
